package com.bookmanger.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @folder 测试接口
 * @author huangfuhao
 * @Date 2024/10/16
 */
@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {

    /**
     * 测试接口
     * @return
     */
    @GetMapping("/hello")
    public String test(){
        log.info("hello");
        return "hello";
    }
}
